package project;

import jade.util.leap.Serializable;

public class Data implements Serializable {

	private Integer value;

	private String time;

	public Data(Integer value, String time) {
		super();
		this.value = value;
		this.time = time;
	}

	public Integer getValue() {
		return value;
	}

	public String getTime() {
		return time;
	}

	@Override
	public String toString() {
		return "valoare: " + value + " timp: " + time;
	}

}
